package com.iot.mapper;

import com.iot.pojo.MTdevice;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface DTdeviceMapper {
	public List<Map<String,Object>> fetchByPage(Map<String, Object> map);


    public List<Map<String,Object>> getDeviceById(Map<String, Object> map);
	public List<Map<String,Object>> getAllDevice(Map<String, Object> map);
	public List<Map<String,Object>> getDeviceImages(Map<String, Object> map);
	public  List<Map<String,Object>> getDeviceSensorData(@Param("deviceId") int deviceId, @Param("sensorId") int sensorId);
}
